package com.xian.yoga.entity;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class OwnerExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public OwnerExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andOwnerIdIsNull() {
            addCriterion("owner_id is null");
            return (Criteria) this;
        }

        public Criteria andOwnerIdIsNotNull() {
            addCriterion("owner_id is not null");
            return (Criteria) this;
        }

        public Criteria andOwnerIdEqualTo(Integer value) {
            addCriterion("owner_id =", value, "ownerId");
            return (Criteria) this;
        }

        public Criteria andOwnerIdNotEqualTo(Integer value) {
            addCriterion("owner_id <>", value, "ownerId");
            return (Criteria) this;
        }

        public Criteria andOwnerIdGreaterThan(Integer value) {
            addCriterion("owner_id >", value, "ownerId");
            return (Criteria) this;
        }

        public Criteria andOwnerIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("owner_id >=", value, "ownerId");
            return (Criteria) this;
        }

        public Criteria andOwnerIdLessThan(Integer value) {
            addCriterion("owner_id <", value, "ownerId");
            return (Criteria) this;
        }

        public Criteria andOwnerIdLessThanOrEqualTo(Integer value) {
            addCriterion("owner_id <=", value, "ownerId");
            return (Criteria) this;
        }

        public Criteria andOwnerIdIn(List<Integer> values) {
            addCriterion("owner_id in", values, "ownerId");
            return (Criteria) this;
        }

        public Criteria andOwnerIdNotIn(List<Integer> values) {
            addCriterion("owner_id not in", values, "ownerId");
            return (Criteria) this;
        }

        public Criteria andOwnerIdBetween(Integer value1, Integer value2) {
            addCriterion("owner_id between", value1, value2, "ownerId");
            return (Criteria) this;
        }

        public Criteria andOwnerIdNotBetween(Integer value1, Integer value2) {
            addCriterion("owner_id not between", value1, value2, "ownerId");
            return (Criteria) this;
        }

        public Criteria andUsersIdIsNull() {
            addCriterion("users_id is null");
            return (Criteria) this;
        }

        public Criteria andUsersIdIsNotNull() {
            addCriterion("users_id is not null");
            return (Criteria) this;
        }

        public Criteria andUsersIdEqualTo(Integer value) {
            addCriterion("users_id =", value, "usersId");
            return (Criteria) this;
        }

        public Criteria andUsersIdNotEqualTo(Integer value) {
            addCriterion("users_id <>", value, "usersId");
            return (Criteria) this;
        }

        public Criteria andUsersIdGreaterThan(Integer value) {
            addCriterion("users_id >", value, "usersId");
            return (Criteria) this;
        }

        public Criteria andUsersIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("users_id >=", value, "usersId");
            return (Criteria) this;
        }

        public Criteria andUsersIdLessThan(Integer value) {
            addCriterion("users_id <", value, "usersId");
            return (Criteria) this;
        }

        public Criteria andUsersIdLessThanOrEqualTo(Integer value) {
            addCriterion("users_id <=", value, "usersId");
            return (Criteria) this;
        }

        public Criteria andUsersIdIn(List<Integer> values) {
            addCriterion("users_id in", values, "usersId");
            return (Criteria) this;
        }

        public Criteria andUsersIdNotIn(List<Integer> values) {
            addCriterion("users_id not in", values, "usersId");
            return (Criteria) this;
        }

        public Criteria andUsersIdBetween(Integer value1, Integer value2) {
            addCriterion("users_id between", value1, value2, "usersId");
            return (Criteria) this;
        }

        public Criteria andUsersIdNotBetween(Integer value1, Integer value2) {
            addCriterion("users_id not between", value1, value2, "usersId");
            return (Criteria) this;
        }

        public Criteria andStudioIdIsNull() {
            addCriterion("studio_id is null");
            return (Criteria) this;
        }

        public Criteria andStudioIdIsNotNull() {
            addCriterion("studio_id is not null");
            return (Criteria) this;
        }

        public Criteria andStudioIdEqualTo(Integer value) {
            addCriterion("studio_id =", value, "studioId");
            return (Criteria) this;
        }

        public Criteria andStudioIdNotEqualTo(Integer value) {
            addCriterion("studio_id <>", value, "studioId");
            return (Criteria) this;
        }

        public Criteria andStudioIdGreaterThan(Integer value) {
            addCriterion("studio_id >", value, "studioId");
            return (Criteria) this;
        }

        public Criteria andStudioIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("studio_id >=", value, "studioId");
            return (Criteria) this;
        }

        public Criteria andStudioIdLessThan(Integer value) {
            addCriterion("studio_id <", value, "studioId");
            return (Criteria) this;
        }

        public Criteria andStudioIdLessThanOrEqualTo(Integer value) {
            addCriterion("studio_id <=", value, "studioId");
            return (Criteria) this;
        }

        public Criteria andStudioIdIn(List<Integer> values) {
            addCriterion("studio_id in", values, "studioId");
            return (Criteria) this;
        }

        public Criteria andStudioIdNotIn(List<Integer> values) {
            addCriterion("studio_id not in", values, "studioId");
            return (Criteria) this;
        }

        public Criteria andStudioIdBetween(Integer value1, Integer value2) {
            addCriterion("studio_id between", value1, value2, "studioId");
            return (Criteria) this;
        }

        public Criteria andStudioIdNotBetween(Integer value1, Integer value2) {
            addCriterion("studio_id not between", value1, value2, "studioId");
            return (Criteria) this;
        }

        public Criteria andOwnerNameIsNull() {
            addCriterion("owner_name is null");
            return (Criteria) this;
        }

        public Criteria andOwnerNameIsNotNull() {
            addCriterion("owner_name is not null");
            return (Criteria) this;
        }

        public Criteria andOwnerNameEqualTo(String value) {
            addCriterion("owner_name =", value, "ownerName");
            return (Criteria) this;
        }

        public Criteria andOwnerNameNotEqualTo(String value) {
            addCriterion("owner_name <>", value, "ownerName");
            return (Criteria) this;
        }

        public Criteria andOwnerNameGreaterThan(String value) {
            addCriterion("owner_name >", value, "ownerName");
            return (Criteria) this;
        }

        public Criteria andOwnerNameGreaterThanOrEqualTo(String value) {
            addCriterion("owner_name >=", value, "ownerName");
            return (Criteria) this;
        }

        public Criteria andOwnerNameLessThan(String value) {
            addCriterion("owner_name <", value, "ownerName");
            return (Criteria) this;
        }

        public Criteria andOwnerNameLessThanOrEqualTo(String value) {
            addCriterion("owner_name <=", value, "ownerName");
            return (Criteria) this;
        }

        public Criteria andOwnerNameLike(String value) {
            addCriterion("owner_name like", value, "ownerName");
            return (Criteria) this;
        }

        public Criteria andOwnerNameNotLike(String value) {
            addCriterion("owner_name not like", value, "ownerName");
            return (Criteria) this;
        }

        public Criteria andOwnerNameIn(List<String> values) {
            addCriterion("owner_name in", values, "ownerName");
            return (Criteria) this;
        }

        public Criteria andOwnerNameNotIn(List<String> values) {
            addCriterion("owner_name not in", values, "ownerName");
            return (Criteria) this;
        }

        public Criteria andOwnerNameBetween(String value1, String value2) {
            addCriterion("owner_name between", value1, value2, "ownerName");
            return (Criteria) this;
        }

        public Criteria andOwnerNameNotBetween(String value1, String value2) {
            addCriterion("owner_name not between", value1, value2, "ownerName");
            return (Criteria) this;
        }

        public Criteria andOwnerSexIsNull() {
            addCriterion("owner_sex is null");
            return (Criteria) this;
        }

        public Criteria andOwnerSexIsNotNull() {
            addCriterion("owner_sex is not null");
            return (Criteria) this;
        }

        public Criteria andOwnerSexEqualTo(String value) {
            addCriterion("owner_sex =", value, "ownerSex");
            return (Criteria) this;
        }

        public Criteria andOwnerSexNotEqualTo(String value) {
            addCriterion("owner_sex <>", value, "ownerSex");
            return (Criteria) this;
        }

        public Criteria andOwnerSexGreaterThan(String value) {
            addCriterion("owner_sex >", value, "ownerSex");
            return (Criteria) this;
        }

        public Criteria andOwnerSexGreaterThanOrEqualTo(String value) {
            addCriterion("owner_sex >=", value, "ownerSex");
            return (Criteria) this;
        }

        public Criteria andOwnerSexLessThan(String value) {
            addCriterion("owner_sex <", value, "ownerSex");
            return (Criteria) this;
        }

        public Criteria andOwnerSexLessThanOrEqualTo(String value) {
            addCriterion("owner_sex <=", value, "ownerSex");
            return (Criteria) this;
        }

        public Criteria andOwnerSexLike(String value) {
            addCriterion("owner_sex like", value, "ownerSex");
            return (Criteria) this;
        }

        public Criteria andOwnerSexNotLike(String value) {
            addCriterion("owner_sex not like", value, "ownerSex");
            return (Criteria) this;
        }

        public Criteria andOwnerSexIn(List<String> values) {
            addCriterion("owner_sex in", values, "ownerSex");
            return (Criteria) this;
        }

        public Criteria andOwnerSexNotIn(List<String> values) {
            addCriterion("owner_sex not in", values, "ownerSex");
            return (Criteria) this;
        }

        public Criteria andOwnerSexBetween(String value1, String value2) {
            addCriterion("owner_sex between", value1, value2, "ownerSex");
            return (Criteria) this;
        }

        public Criteria andOwnerSexNotBetween(String value1, String value2) {
            addCriterion("owner_sex not between", value1, value2, "ownerSex");
            return (Criteria) this;
        }

        public Criteria andCownerTelIsNull() {
            addCriterion("cowner_tel is null");
            return (Criteria) this;
        }

        public Criteria andCownerTelIsNotNull() {
            addCriterion("cowner_tel is not null");
            return (Criteria) this;
        }

        public Criteria andCownerTelEqualTo(String value) {
            addCriterion("cowner_tel =", value, "cownerTel");
            return (Criteria) this;
        }

        public Criteria andCownerTelNotEqualTo(String value) {
            addCriterion("cowner_tel <>", value, "cownerTel");
            return (Criteria) this;
        }

        public Criteria andCownerTelGreaterThan(String value) {
            addCriterion("cowner_tel >", value, "cownerTel");
            return (Criteria) this;
        }

        public Criteria andCownerTelGreaterThanOrEqualTo(String value) {
            addCriterion("cowner_tel >=", value, "cownerTel");
            return (Criteria) this;
        }

        public Criteria andCownerTelLessThan(String value) {
            addCriterion("cowner_tel <", value, "cownerTel");
            return (Criteria) this;
        }

        public Criteria andCownerTelLessThanOrEqualTo(String value) {
            addCriterion("cowner_tel <=", value, "cownerTel");
            return (Criteria) this;
        }

        public Criteria andCownerTelLike(String value) {
            addCriterion("cowner_tel like", value, "cownerTel");
            return (Criteria) this;
        }

        public Criteria andCownerTelNotLike(String value) {
            addCriterion("cowner_tel not like", value, "cownerTel");
            return (Criteria) this;
        }

        public Criteria andCownerTelIn(List<String> values) {
            addCriterion("cowner_tel in", values, "cownerTel");
            return (Criteria) this;
        }

        public Criteria andCownerTelNotIn(List<String> values) {
            addCriterion("cowner_tel not in", values, "cownerTel");
            return (Criteria) this;
        }

        public Criteria andCownerTelBetween(String value1, String value2) {
            addCriterion("cowner_tel between", value1, value2, "cownerTel");
            return (Criteria) this;
        }

        public Criteria andCownerTelNotBetween(String value1, String value2) {
            addCriterion("cowner_tel not between", value1, value2, "cownerTel");
            return (Criteria) this;
        }

        public Criteria andOwnerBirthdayIsNull() {
            addCriterion("owner_birthday is null");
            return (Criteria) this;
        }

        public Criteria andOwnerBirthdayIsNotNull() {
            addCriterion("owner_birthday is not null");
            return (Criteria) this;
        }

        public Criteria andOwnerBirthdayEqualTo(Date value) {
            addCriterion("owner_birthday =", value, "ownerBirthday");
            return (Criteria) this;
        }

        public Criteria andOwnerBirthdayNotEqualTo(Date value) {
            addCriterion("owner_birthday <>", value, "ownerBirthday");
            return (Criteria) this;
        }

        public Criteria andOwnerBirthdayGreaterThan(Date value) {
            addCriterion("owner_birthday >", value, "ownerBirthday");
            return (Criteria) this;
        }

        public Criteria andOwnerBirthdayGreaterThanOrEqualTo(Date value) {
            addCriterion("owner_birthday >=", value, "ownerBirthday");
            return (Criteria) this;
        }

        public Criteria andOwnerBirthdayLessThan(Date value) {
            addCriterion("owner_birthday <", value, "ownerBirthday");
            return (Criteria) this;
        }

        public Criteria andOwnerBirthdayLessThanOrEqualTo(Date value) {
            addCriterion("owner_birthday <=", value, "ownerBirthday");
            return (Criteria) this;
        }

        public Criteria andOwnerBirthdayIn(List<Date> values) {
            addCriterion("owner_birthday in", values, "ownerBirthday");
            return (Criteria) this;
        }

        public Criteria andOwnerBirthdayNotIn(List<Date> values) {
            addCriterion("owner_birthday not in", values, "ownerBirthday");
            return (Criteria) this;
        }

        public Criteria andOwnerBirthdayBetween(Date value1, Date value2) {
            addCriterion("owner_birthday between", value1, value2, "ownerBirthday");
            return (Criteria) this;
        }

        public Criteria andOwnerBirthdayNotBetween(Date value1, Date value2) {
            addCriterion("owner_birthday not between", value1, value2, "ownerBirthday");
            return (Criteria) this;
        }

        public Criteria andOwnerImgIsNull() {
            addCriterion("owner_img is null");
            return (Criteria) this;
        }

        public Criteria andOwnerImgIsNotNull() {
            addCriterion("owner_img is not null");
            return (Criteria) this;
        }

        public Criteria andOwnerImgEqualTo(String value) {
            addCriterion("owner_img =", value, "ownerImg");
            return (Criteria) this;
        }

        public Criteria andOwnerImgNotEqualTo(String value) {
            addCriterion("owner_img <>", value, "ownerImg");
            return (Criteria) this;
        }

        public Criteria andOwnerImgGreaterThan(String value) {
            addCriterion("owner_img >", value, "ownerImg");
            return (Criteria) this;
        }

        public Criteria andOwnerImgGreaterThanOrEqualTo(String value) {
            addCriterion("owner_img >=", value, "ownerImg");
            return (Criteria) this;
        }

        public Criteria andOwnerImgLessThan(String value) {
            addCriterion("owner_img <", value, "ownerImg");
            return (Criteria) this;
        }

        public Criteria andOwnerImgLessThanOrEqualTo(String value) {
            addCriterion("owner_img <=", value, "ownerImg");
            return (Criteria) this;
        }

        public Criteria andOwnerImgLike(String value) {
            addCriterion("owner_img like", value, "ownerImg");
            return (Criteria) this;
        }

        public Criteria andOwnerImgNotLike(String value) {
            addCriterion("owner_img not like", value, "ownerImg");
            return (Criteria) this;
        }

        public Criteria andOwnerImgIn(List<String> values) {
            addCriterion("owner_img in", values, "ownerImg");
            return (Criteria) this;
        }

        public Criteria andOwnerImgNotIn(List<String> values) {
            addCriterion("owner_img not in", values, "ownerImg");
            return (Criteria) this;
        }

        public Criteria andOwnerImgBetween(String value1, String value2) {
            addCriterion("owner_img between", value1, value2, "ownerImg");
            return (Criteria) this;
        }

        public Criteria andOwnerImgNotBetween(String value1, String value2) {
            addCriterion("owner_img not between", value1, value2, "ownerImg");
            return (Criteria) this;
        }

        public Criteria andOwnerCardIsNull() {
            addCriterion("owner_card is null");
            return (Criteria) this;
        }

        public Criteria andOwnerCardIsNotNull() {
            addCriterion("owner_card is not null");
            return (Criteria) this;
        }

        public Criteria andOwnerCardEqualTo(String value) {
            addCriterion("owner_card =", value, "ownerCard");
            return (Criteria) this;
        }

        public Criteria andOwnerCardNotEqualTo(String value) {
            addCriterion("owner_card <>", value, "ownerCard");
            return (Criteria) this;
        }

        public Criteria andOwnerCardGreaterThan(String value) {
            addCriterion("owner_card >", value, "ownerCard");
            return (Criteria) this;
        }

        public Criteria andOwnerCardGreaterThanOrEqualTo(String value) {
            addCriterion("owner_card >=", value, "ownerCard");
            return (Criteria) this;
        }

        public Criteria andOwnerCardLessThan(String value) {
            addCriterion("owner_card <", value, "ownerCard");
            return (Criteria) this;
        }

        public Criteria andOwnerCardLessThanOrEqualTo(String value) {
            addCriterion("owner_card <=", value, "ownerCard");
            return (Criteria) this;
        }

        public Criteria andOwnerCardLike(String value) {
            addCriterion("owner_card like", value, "ownerCard");
            return (Criteria) this;
        }

        public Criteria andOwnerCardNotLike(String value) {
            addCriterion("owner_card not like", value, "ownerCard");
            return (Criteria) this;
        }

        public Criteria andOwnerCardIn(List<String> values) {
            addCriterion("owner_card in", values, "ownerCard");
            return (Criteria) this;
        }

        public Criteria andOwnerCardNotIn(List<String> values) {
            addCriterion("owner_card not in", values, "ownerCard");
            return (Criteria) this;
        }

        public Criteria andOwnerCardBetween(String value1, String value2) {
            addCriterion("owner_card between", value1, value2, "ownerCard");
            return (Criteria) this;
        }

        public Criteria andOwnerCardNotBetween(String value1, String value2) {
            addCriterion("owner_card not between", value1, value2, "ownerCard");
            return (Criteria) this;
        }

        public Criteria andOwnerRegdateIsNull() {
            addCriterion("owner_regdate is null");
            return (Criteria) this;
        }

        public Criteria andOwnerRegdateIsNotNull() {
            addCriterion("owner_regdate is not null");
            return (Criteria) this;
        }

        public Criteria andOwnerRegdateEqualTo(Date value) {
            addCriterion("owner_regdate =", value, "ownerRegdate");
            return (Criteria) this;
        }

        public Criteria andOwnerRegdateNotEqualTo(Date value) {
            addCriterion("owner_regdate <>", value, "ownerRegdate");
            return (Criteria) this;
        }

        public Criteria andOwnerRegdateGreaterThan(Date value) {
            addCriterion("owner_regdate >", value, "ownerRegdate");
            return (Criteria) this;
        }

        public Criteria andOwnerRegdateGreaterThanOrEqualTo(Date value) {
            addCriterion("owner_regdate >=", value, "ownerRegdate");
            return (Criteria) this;
        }

        public Criteria andOwnerRegdateLessThan(Date value) {
            addCriterion("owner_regdate <", value, "ownerRegdate");
            return (Criteria) this;
        }

        public Criteria andOwnerRegdateLessThanOrEqualTo(Date value) {
            addCriterion("owner_regdate <=", value, "ownerRegdate");
            return (Criteria) this;
        }

        public Criteria andOwnerRegdateIn(List<Date> values) {
            addCriterion("owner_regdate in", values, "ownerRegdate");
            return (Criteria) this;
        }

        public Criteria andOwnerRegdateNotIn(List<Date> values) {
            addCriterion("owner_regdate not in", values, "ownerRegdate");
            return (Criteria) this;
        }

        public Criteria andOwnerRegdateBetween(Date value1, Date value2) {
            addCriterion("owner_regdate between", value1, value2, "ownerRegdate");
            return (Criteria) this;
        }

        public Criteria andOwnerRegdateNotBetween(Date value1, Date value2) {
            addCriterion("owner_regdate not between", value1, value2, "ownerRegdate");
            return (Criteria) this;
        }

        public Criteria andOwnerIsopenIsNull() {
            addCriterion("owner_isopen is null");
            return (Criteria) this;
        }

        public Criteria andOwnerIsopenIsNotNull() {
            addCriterion("owner_isopen is not null");
            return (Criteria) this;
        }

        public Criteria andOwnerIsopenEqualTo(String value) {
            addCriterion("owner_isopen =", value, "ownerIsopen");
            return (Criteria) this;
        }

        public Criteria andOwnerIsopenNotEqualTo(String value) {
            addCriterion("owner_isopen <>", value, "ownerIsopen");
            return (Criteria) this;
        }

        public Criteria andOwnerIsopenGreaterThan(String value) {
            addCriterion("owner_isopen >", value, "ownerIsopen");
            return (Criteria) this;
        }

        public Criteria andOwnerIsopenGreaterThanOrEqualTo(String value) {
            addCriterion("owner_isopen >=", value, "ownerIsopen");
            return (Criteria) this;
        }

        public Criteria andOwnerIsopenLessThan(String value) {
            addCriterion("owner_isopen <", value, "ownerIsopen");
            return (Criteria) this;
        }

        public Criteria andOwnerIsopenLessThanOrEqualTo(String value) {
            addCriterion("owner_isopen <=", value, "ownerIsopen");
            return (Criteria) this;
        }

        public Criteria andOwnerIsopenLike(String value) {
            addCriterion("owner_isopen like", value, "ownerIsopen");
            return (Criteria) this;
        }

        public Criteria andOwnerIsopenNotLike(String value) {
            addCriterion("owner_isopen not like", value, "ownerIsopen");
            return (Criteria) this;
        }

        public Criteria andOwnerIsopenIn(List<String> values) {
            addCriterion("owner_isopen in", values, "ownerIsopen");
            return (Criteria) this;
        }

        public Criteria andOwnerIsopenNotIn(List<String> values) {
            addCriterion("owner_isopen not in", values, "ownerIsopen");
            return (Criteria) this;
        }

        public Criteria andOwnerIsopenBetween(String value1, String value2) {
            addCriterion("owner_isopen between", value1, value2, "ownerIsopen");
            return (Criteria) this;
        }

        public Criteria andOwnerIsopenNotBetween(String value1, String value2) {
            addCriterion("owner_isopen not between", value1, value2, "ownerIsopen");
            return (Criteria) this;
        }

        public Criteria andOwnerStatusIsNull() {
            addCriterion("owner_status is null");
            return (Criteria) this;
        }

        public Criteria andOwnerStatusIsNotNull() {
            addCriterion("owner_status is not null");
            return (Criteria) this;
        }

        public Criteria andOwnerStatusEqualTo(String value) {
            addCriterion("owner_status =", value, "ownerStatus");
            return (Criteria) this;
        }

        public Criteria andOwnerStatusNotEqualTo(String value) {
            addCriterion("owner_status <>", value, "ownerStatus");
            return (Criteria) this;
        }

        public Criteria andOwnerStatusGreaterThan(String value) {
            addCriterion("owner_status >", value, "ownerStatus");
            return (Criteria) this;
        }

        public Criteria andOwnerStatusGreaterThanOrEqualTo(String value) {
            addCriterion("owner_status >=", value, "ownerStatus");
            return (Criteria) this;
        }

        public Criteria andOwnerStatusLessThan(String value) {
            addCriterion("owner_status <", value, "ownerStatus");
            return (Criteria) this;
        }

        public Criteria andOwnerStatusLessThanOrEqualTo(String value) {
            addCriterion("owner_status <=", value, "ownerStatus");
            return (Criteria) this;
        }

        public Criteria andOwnerStatusLike(String value) {
            addCriterion("owner_status like", value, "ownerStatus");
            return (Criteria) this;
        }

        public Criteria andOwnerStatusNotLike(String value) {
            addCriterion("owner_status not like", value, "ownerStatus");
            return (Criteria) this;
        }

        public Criteria andOwnerStatusIn(List<String> values) {
            addCriterion("owner_status in", values, "ownerStatus");
            return (Criteria) this;
        }

        public Criteria andOwnerStatusNotIn(List<String> values) {
            addCriterion("owner_status not in", values, "ownerStatus");
            return (Criteria) this;
        }

        public Criteria andOwnerStatusBetween(String value1, String value2) {
            addCriterion("owner_status between", value1, value2, "ownerStatus");
            return (Criteria) this;
        }

        public Criteria andOwnerStatusNotBetween(String value1, String value2) {
            addCriterion("owner_status not between", value1, value2, "ownerStatus");
            return (Criteria) this;
        }
    }

    /**
     */
    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}